package cn.lx.interceptor;

import cn.lx.feature.LxAOP;
import cn.lx.utils.JerseyTool;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

/**
 * Created by Administrator on 2017/3/14.
 */
@LxAOP
@Login
public class LoginInterceptor implements MethodInterceptor {
    public Object invoke(MethodInvocation invocation) throws Throwable {


        return JerseyTool.returnUnauthorized();
    }
}
